﻿<template>
    <div>
        <Student name="李四" sex = "女" />
        <!-- <Student name="王老五" sex="男" age="20"/> -->
    </div>
</template>

<script>
    //引入School组件
    import School from './components/School.vue'
    import Student from './components/Student.vue'
    export default{
        name: 'App',
        components:{School,Student},
        data(){
            return{
                msg: '欢迎学习Vue',
            }
        },
        
    }
</script>

<style>

</style>